import Vue from "vue"
import SVgIcon from './index.vue'

Vue.component('svg-icon', SVgIcon)

const req = require.context('../../assets/icons/svg-icon', false, /\.svg$/)
const requireAll = requireContext => requireContext.keys().map(requireContext)

requireAll(req)